<!DOCTYPE html>
<html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
    <meta charset="UTF-8" />
    <title>hello</title>
</head>
    <style type="text/css">
        body {
            padding: 10px
        }
    </style>
<body>
<div >
    <img th:src="@{/kaptcha/kaptcha-image}" class="ver_btn" onclick="this.src=this.src+'?c='+Math.random();"/>
</div>

<form th:src="@{/kaptcha/judguKaptcha}">
    <input type="text" name="yzCode" placeholder="请输入验证码"/>
    <input type="submit" value="提交"/>
</form>
</body>
</html>